package com.kevin.model;

import lombok.Getter;
import lombok.Setter;

/**
 * @author kevin
 * @version V1.0
 * @Description: TODO
 * @date 2019/1/29 17:36
 **/
@Setter
@Getter
public class Location {

    /**
     * 主键
     */
    private int id;
    /**
     * 经度
     */
    private double lon;
    /**
     * 纬度
     */
    private double lat;

    /**
     * 是否是重心点
     * true:是
     * false:否
     */
    private boolean centerPoint;

    public Location(){}

    public Location(int id,double lon,double lat){
        this.id = id;
        this.lon = lon;
        this.lat = lat;
    }
}
